home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part2 / 10630 < prev    next >
Encoding:
Text File  |  1996-08-05  |  5.2 KB  |  142 lines

  1. Path: phoenix.rhein.de!usenet
  2. From: simons@peti.rhein.de (PETI development team)
  3. Newsgroups: comp.sys.amiga.misc,comp.lang.java
  4. Subject: ANNOUNCING: HotPETI 1.0 available for anonymous FTP
  5. Followup-To: comp.lang.java
  6. Date: 1 Apr 1996 00:00:00 GMT
  7. Organization: Institute of slowly and painfully working out the surprisingly obvious
  8. Message-ID: <876347466576@peti.rhein.de>
  9. NNTP-Posting-Host: peti.rhein.de
  10.  
  11.  
  12.                Available for anonymous ftp NOW:
  13.  
  14.         #     # ####### #######
  15.         #     # #     #    #     #####   ######   #####     #
  16.         #     # #     #    #     #    #  #          #       #
  17.         ####### #     #    #     #    #  #####      #       #
  18.         #     # #     #    #     #####   #          #       #
  19.         #     # #     #    #     #       #          #       #
  20.         #     # #######    #     #       ######     #       #
  21.  
  22.  
  23. In the recent months, the SUN-invented language Java has created much noise in
  24. both press and computer literate public. Reason enough for us, the PETI
  25. laboratories, to take a look at it. The results were really devastating. We
  26. found several structural weaknesses, implementation problems, portability
  27. issues and so on, etc... Actually, Java is, in our opinion, not even object
  28. oriented.
  29.  
  30. Just for fun, we invented our own language, which is subsequently called PETI,
  31. and did an implementation for the Amiga Operating System release 3.x. The
  32. result was way better than we could reasonably expect and many colleagues
  33. praised PETI for its object-oriented design and the clever mechanisms for flow
  34. control, exception handling and authoring graphical user interfaces.
  35.  
  36. What started as a fun-project in spare-time developed into a full blown
  37. programming language, suitable for smaller utilities also as applications with
  38. ten thousand lines of code or more.
  39.  
  40. Of course ports are will be available for SunOS, AIX, Linux, NetBSD, MacOS in
  41. a few weeks, but we're releasing the AmigaOS version first, because the
  42. members of the Amiga community are known for their open minds and appreciation
  43. of superior concepts.
  44.  
  45. You can ftp a first version of the PETI compiler from the following location:
  46.  
  47.   ftp://ftp.rhein.de/pub/peti/hotpeti-1.0.lha
  48.  
  49. The package comes with full source code and is placed under the GNU General
  50. Public License -- for the maximum benefit of the public.
  51.  
  52. To run HotPETI, you'll need an Amiga with at least 2 megabyte of FastRAM,
  53. Kickstart 3.0 or later and "Peti's Efficient Tcp Ip" (PETI) installed.
  54.  
  55.  
  56. However, here's a short description of the language itself:
  57.  
  58. HotPETI is _fully_ object-oriented and the only object that counts in todays
  59. computers are the different ways to bother other people and other people's
  60. machines on the Internet. Meaning that PETI is fully optimized to spoof telnet
  61. sessions, monitor ethernet traffic, do dictionary attacks of passwords, use
  62. monitored ethernet traffic do to even smarter dictionary attacks on passwords,
  63. automatically scan for known keywords in electronic mail and archive a copy
  64. for blackmailing, randomly adding extremely rude words in articles posted to
  65. Usenet, automatically finding security leaks in other systems and using them
  66. for faked mailbombs and many, many more useful features.
  67.  
  68. Before PETI you had to actually _know_ what you're doing, to be able to spam a
  69. thousand newsgroups. That's fortunately over now. PETI is net-abuse for the
  70. masses.
  71.  
  72. Here's an example: Your room mate has a very cute girl-friend who happens to
  73. spend a year on a college abroad. He keeps steady e-mail contact with her.
  74. Well, lets furthermore assume that your room mate has the annoying habit of
  75. not putting the plug back on the toothpaste after brushing his teeth. Then the
  76. following short program will teach him a lesson:
  77.  
  78. DEFINE OBJECT girlfriend {
  79.     ACTION snoop:
  80.         MONTOR mail, talk, irc;
  81. }
  82.  
  83. DEFINE OBJECT relationship {
  84.     ACTION destroy:
  85.         FAKE rude mail;
  86. }
  87.  
  88. int main()
  89. {
  90.     // Init objects
  91.     relationship = "Claus";
  92.     relationship += "Samantha";
  93.  
  94. loop:
  95.     // Wait for an a conversation of any kind to take place
  96.     snoop(girlfriend);
  97.  
  98.     // Does the conversation contain relationship-issues?
  99.     if (girlfriend && relationship) {
  100.         // Guess what
  101.         destroy(relationship);
  102.     }
  103.     else
  104.         goto loop
  105.  
  106.     return EVERYTHING_OKAY
  107. }
  108.  
  109.  
  110. The program will yield the following output in the logfiles (at least it did
  111. when I used it on my room mate's girl-friend):
  112.  
  113.  | Monitoring mail, talk and irc traffic
  114.  | +++Incoming Mail for "Claus"
  115.  | Ignoring mail from his father
  116.  | +++Incoming Mail for "Claus"
  117.  | Got him by the balls
  118.  | Mail reads:
  119.  > Dear Claus,
  120.  > I love you so much. I can't describe how much I miss you.
  121.  > Just wanted to let you know...
  122.  >
  123.  >   Samantha
  124.  | Well...
  125.  | Faking reply from Claus:
  126.  > Dear Samantha,
  127.  >
  128.  > I appreciate your little, stupid mail, even though it is completely
  129.  > pointless to bother me with historical facts. Just for your information: I
  130.  > got to know a women yesterday, who looks ten times better than you do. And
  131.  > I won't even mention a few other qualities she has over you.
  132.  >
  133.  > Just to make sure you get the point: It's over, baby. Get lost.
  134.  
  135.  
  136. Archieving the same effect in Java would probably require fifty or more lines
  137. of code -- PETI can do it in approx 20. And many, many objects, classes and
  138. actions are already included in the distribution.
  139.  
  140.  
  141. And the best thing is... it might already be running in a Netscape near you.
  142.